-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(cat-voices): parse missing document properties, add validation #1503
Conversation
…n object with child properties
❌ Test Report | |
❌ Test Report | |
❌ Test Report | |
# Conflicts: # catalyst_voices/apps/voices/lib/widgets/tiles/document_builder_section_tile.dart # catalyst_voices/packages/internal/catalyst_voices_models/lib/src/document/definitions/nested_questions_definition.dart # catalyst_voices/packages/internal/catalyst_voices_models/lib/src/document/definitions/single_line_https_url_entry_definition.dart # catalyst_voices/packages/internal/catalyst_voices_models/lib/src/document/definitions/yes_no_choice_definition.dart # catalyst_voices/packages/internal/catalyst_voices_models/lib/src/document/document_validator.dart # catalyst_voices/packages/internal/catalyst_voices_repositories/lib/src/dto/document/schema/document_schema_property_dto.dart
❌ Test Report | |
✅ Test Report | |
✅ Test Report | |
# Conflicts: # catalyst_voices/apps/voices/lib/widgets/tiles/document_builder_section_tile.dart
catalyst_voices/apps/voices/lib/widgets/document_builder/single_line_https_url_widget.dart.dart
Outdated
Show resolved
Hide resolved
✅ Test Report | |
catalyst_voices/apps/voices/lib/widgets/tiles/document_builder_section_tile.dart
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leaving some comments. Most styling.
Didn't finished reviewing but i'm loving what i saw so far. Great job.
Will continue on monday
catalyst_voices/apps/voices/lib/widgets/document_builder/agreement_confirmation_widget.dart
Outdated
Show resolved
Hide resolved
catalyst_voices/apps/voices/lib/widgets/tiles/document_builder_section_tile.dart
Show resolved
Hide resolved
catalyst_voices/apps/voices/lib/widgets/tiles/document_builder_section_tile.dart
Show resolved
Hide resolved
...ices/packages/internal/catalyst_voices_models/lib/src/document/builder/document_builder.dart
Outdated
Show resolved
Hide resolved
...ices/packages/internal/catalyst_voices_models/lib/src/document/builder/document_builder.dart
Outdated
Show resolved
Hide resolved
catalyst_voices/packages/internal/catalyst_voices_models/lib/src/document/document.dart
Outdated
Show resolved
Hide resolved
✅ Test Report | |
✅ Test Report | |
✅ Test Report | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
✅ Test Report | |
Description
Parses json schema
array
andobject
property types and adds validation.segment
->section
->property
, new implementation allows infinite nesting.segment
->section
->property
->property
-> (...) is supported, any properties which don't follow this hierarchy are ignored for the proposal builder (i.e.segment
->property
->section
- would ignore the whole node since on 2nd level there is no section)DocumentSchema
BaseDocumentDefinition
, there is a hierarchy of sealed classes based on the elementary json schema types (string, integer, number, boolean, array, object). These bases classes are extended by specific definitions (schemas) likeDocumentSingleLineTextEntrySchema
, etc.DocumentObjectSchema
DocumentListSchema
DocumentValueSchema and subclasses
string
,number
(double),integer
,boolean
fields, no children allowed.DocumentChange
DocumentListSchema
schema.TODOs
Related Issue(s)
Closes #1466